.octotree-sidebar.octotree-github-sidebar
    border-right .5px solid var(--borderColor)

.octotree-sidebar.octotree-github-sidebar .octotree-views
    background-color transparent

// 顶栏
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-view .octotree-view-header
    background-color var(--color-header-bg)

.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-tree-view .jstree-anchor
    color #abb2bf !important

    &.jstree-clicked
        color #d9d9d9 !important

// 文件列表
.octotree-sidebar
    ::-webkit-scrollbar
    ::-webkit-scrollbar-thumb
        display none

    &:hover
        ::-webkit-scrollbar
            width 5px

            .toc&
                width 5px

        ::-webkit-scrollbar-thumb
            background-color rgba(0, 0, 0, .3)
            border-radius 3px

.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-tree-view .jstree-default .jstree-no-dots .jstree-closed > .jstree-ocl::before
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-tree-view .jstree-default .jstree-no-dots .jstree-open > .jstree-ocl::before
    color #abb2bf

.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-view.octotree-tree-view .jstree-anchor
    div
        color var(--sideColor) !important
    &.jstree-clicked div
        color var(--mainColor) !important

// 选中的当前文件
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-tree-view .jstree-default
    .jstree-wholerow-clicked
    .jstree-wholerow-hovered
        background rgba(0, 0, 0, .3) !important

        .jstree-anchor div
            color var(--mainColor) !important

.octotree-sidebar.octotree-github-sidebar .octotree-views
    border-right none !important

// 底栏
.octotree-sidebar .octotree-footer_auth
    background-color transparent !important
    border none !important

// tab
ul.octotree-tabs-nav__bar
    background transparent

li.octotree-tabs-nav__item.fixed.active
    background rgba(0, 0, 0, .3)
    border none

.octotree-tabs-nav__bar::before
    height .5px
    background var(--borderColor)
    transform: translateY(.5px);
    z-index: 100;

.octotree-tabs-nav__bar .octotree-tabs-nav__item::after
    width .5px
    background var(--borderColor)

.octotree-sidebar .octotree-footer
    display none

// 文件夹前面的方向
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-view.octotree-tree-view .jstree-default .jstree-no-dots
    .jstree-closed > .jstree-ocl::before
    .jstree-open > .jstree-ocl::before
        color var(--mainColor)
